package com.richard.cloud.feign;

import java.math.BigDecimal;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.richard.springcloud.base.ComnResult;

public interface SeataAccountServiceFeignClient {
	@GetMapping("/hello")
	String hello();
	
	@PutMapping("/account/charge")
	ComnResult<?> charge(@RequestParam("custId") Long custId, @RequestParam("amount") BigDecimal amount);
}
